<?php
/**
 * Created by JetBrains PhpStorm.
 * User: minhsong
 * Date: 1/20/14
 * Time: 11:42 PM
 * To change this template use File | Settings | File Templates.
 */
require_once "Class/database.php";
require_once "Class/channelService.php";
$channelService = new channelService();
$channelsList = $channelService->channels();
$result = array();
$result['Model'] = $channelsList;
$result['Status'] = array(
  "Code"=>1,
    "Message"=>"successful"
);
echo json_encode($result);
?>